package cn.zn.modules.pz.his.entity;

import lombok.Data;
import org.mongodb.morphia.annotations.Entity;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@Entity
@Document(collection = "pz_expense")
public class PzExpense {
    @Field("ap")
    private Integer ap;
    @Field("expense_id")
    private String expenseId;
    @Field("spending_type")
    private String spendingType;
    @Field("expense_way")
    private String expenseWay;
    @Field("is_pay")
    private Boolean isPay;
    @Field("money")
    private Double money;
    @Field("paper_num")
    private String paperNum;
    @Field("project_code")
    private String projectCode;
    @Field("reason")
    private String reason;
    @Field("main_id")
    private String mainId;
    @Field("czj_result")
    private String czjResult;
    @Field("pay_user_code")
    private String payUserCode;
    @Field("is_exist_apply")
    private Boolean isExistApply;
    @Field("is_use_public")
    private Boolean isUsePublic;
    @Field("pay_money")
    private Double payMoney;
    @Field("money_type_iscash")
    private Boolean moneyTypeIscash;
    @Field("is_appoint")
    private Boolean isAppoint;

}
